src-y                   += Src/stm32l4xx_hal_msp.c Src/system_stm32l4xx.c Src/stm32l4xx_nucleo_bus.c board.c
inc-g-y                 += Inc/
cflags-l-$(CONFIG_KEIL) := -Wno-conversion -Wno-switch-enum -Wno-covered-switch-default -Wno-missing-noreturn

cflags-g-y              += -Dprintf=kprintf -includekprintf.h

ifdef CONFIG_IOT_SDK
src-y                   += Src/uart_at.c
cflags-uart_at.c        += -Wno-cast-qual
endif